/**
 * @description API配置模型
 */

const mongoose = require("../db/db");
const Schema = mongoose.Schema({
    createDate: {
        type: Number,
    },
    type: {
        type: String,
    },
    title: {
        type: String,
    },
    config: {
        type: Object
    },
    status: {
        type: Number,
        default: 1  //0表示正常。0表示冻结
    }
})
const APICONFIG = mongoose.model("apiconfig", Schema);
module.exports = APICONFIG;